import request from '@/utils/request'

// 查询活动审核列表
export function listCheckActivities(query) {
  return request({
    url: '/activity/checkActivities/list',
    method: 'get',
    params: query
  })
}

// 查询活动审核详细
export function getCheckActivities(activityId) {
  return request({
    url: '/activity/checkActivities/' + activityId,
    method: 'get'
  })
}

// 新增活动审核
export function addCheckActivities(data) {
  return request({
    url: '/activity/checkActivities',
    method: 'post',
    data: data
  })
}

// 修改活动审核
export function updateCheckActivities(data) {
  return request({
    url: '/activity/checkActivities',
    method: 'put',
    data: data
  })
}

// 删除活动审核
export function delCheckActivities(activityId) {
  return request({
    url: '/activity/checkActivities/' + activityId,
    method: 'delete'
  })
}
